<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://xmlns.jcp.org/jsf/passthrough"
      xmlns:myta="http://java.sun.com/jsf/composite/myta">

	<ui:composition template="/templates/form.xhtml">
			<ui:define name="title">SIA Online</ui:define>
			<ui:define name="header">Data jadwal</ui:define>
			<ui:define name="body">
				<h:form id="jadwal" onkeypress="if(event.keyCode==13)return false;">
					<div class="panel panel-primary">
						<div class="panel-heading">Detail Jadwal</div>
						<div class="panel-body">
							<div class="form-horizontal">
								<myta:inputText id="id" label="ID jadwal" inputBinding="#{jadwalData.txtid}"/>
								<myta:comboBox id="kelassiswa" label="Kelas" comboboxBinding="#{jadwalData.txtidkelassiswa}" comboboxValue="#{jadwalData.listKelasSiswa}"/>
								<myta:comboBox id="mapel" label="Mata Pelajaran" comboboxBinding="#{jadwalData.txtidmapel}" comboboxValue="#{jadwalData.listMapel}"/>
								<myta:comboBox id="guru" label="Guru" comboboxBinding="#{jadwalData.txtidguru}" comboboxValue="#{jadwalData.listGuru}"/>
								<myta:comboBox id="hari" label="Hari" comboboxBinding="#{jadwalData.txthari}" comboboxValue="#{jadwalData.listHari}"/>
							</div>
						</div>
					</div>
					
					<div class="pull-right">
						<h:commandButton value="Simpan" action="#{jadwalData.save}" styleClass="btn btn-success">
						</h:commandButton>&nbsp;
						<h:commandButton value="Batal" action="#{jadwalData.cancel}" styleClass="btn btn-info">
						</h:commandButton>
					</div>
				</h:form>
			</ui:define>
	</ui:composition>
</html>